package com.wjr.entity;

import com.wjr.utils.GetImageUtils;

import java.awt.*;

public class MyTank extends GameObject {

    public Image getImage_MyTank() {
        return image_MyTank;
    }

    public void setImage_MyTank(Image image_MyTank) {
        this.image_MyTank = image_MyTank;
    }

    public  Image image_MyTank = GetImageUtils.getImage("images/p1tankU.gif");

    public MyTank(){
        x = 300;
        y = 300;
        width = 120;
        height = 120;
        name = "MyTank";
        isLive = true;

    }

    @Override
    public void drawMe(Graphics graphics) {
        graphics.drawImage(image_MyTank,x,y,width,height,null);
    }

    @Override
    public Rectangle getRectangle() {
        return null;
    }
}
